package com.ieng.kican.modules.security.core.annotaion;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

/**
 * <p>
 *      用户未登录时
 *      支持的请求方式 ->> GetMapping PostMapping RequestMapping
 * </p>
 *
 * @author IENG
 */

@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface AnonymousAuthorize {

    @AliasFor("use")
    boolean value() default true;

    @AliasFor("value")
    boolean use() default true;

}
